package com.smart.admin.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@Data
@ConfigurationProperties("aliyun")
public class AliyunOssProperties {
    private String accessKeyId;
    private String accessKeySecret;
    // OSS的Bucket名称
    private String bucketName;
    // 地域节点
    private String endPoint;
    private String fileHost;
}
